package com.deepocean.service;

import com.deepocean.entity.MagneticSeparatorCondition;
import com.deepocean.entity.MagneticSeparatorEntity;
import com.deepocean.entity.MagneticSeparatorInAndOut1Hour;

import java.util.List;

/**
 * 磁选机
 */
public interface IMagneticSeparatorService {
    /**
     * 添加数据
     * @param magneticSeparatorEntity
     * @return
     */
    boolean add(MagneticSeparatorEntity magneticSeparatorEntity);

    /**
     * 当前时间开始，进一小时数据总和
     * @param deviceId
     * @return
     */
    MagneticSeparatorInAndOut1Hour getInAndOutInHour(String deviceId);

    /**
     * 条件查询
     * @param magneticSeparatorCondition
     * @return
     */
    List<MagneticSeparatorEntity> getMagneticSeparatorByCondition(MagneticSeparatorCondition magneticSeparatorCondition);
}
